﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCPanelReview.ascx.cs"
    Inherits="CDOP.UserControls.UcPanelReview" %>
<asp:Table runat="server" ID="tblPanelReview">
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label31" runat="server" Text="Has a Panel review been completed?"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddPanelReviewCompleted" runat="server" DataSourceID="ObjectDataSourcePanelReviewCompleted"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourcePanelReviewCompleted" runat="server" SelectMethod="GetPanelReviewCompleteDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label8" runat="server" Text="Panel review date"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtPanelReviewDate" class="tcal" runat="server">
            </asp:TextBox>
           <%-- <asp:LinkButton ID="lnkBtnPanelReviewDate" runat="server" OnClick="LnkBtnPanelReviewDateClick">Calendar</asp:LinkButton>
            <asp:Calendar ID="calPanelReviewDate" runat="server" Visible="false" OnSelectionChanged="CalPanelReviewDateOnSelectionChanged">
            </asp:Calendar>--%>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label1" runat="server" Text="Death Explained"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddDeathExplained" runat="server" DataSourceID="ObjectDataSourceDeathExplained"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceDeathExplained" runat="server" SelectMethod="GetDeathExplainedDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
            <asp:ObjectDataSource ID="ObjectDataSourcePanelReview" runat="server"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label2" runat="server" Text="Preventability Please note: deaths reviewed from April 2010 cannot be deemed potentially preventable"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddPreventability" runat="server" DataSourceID="ObjectDataSourcePreventability"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourcePreventability" runat="server" SelectMethod="GetPreventabilityDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label3" runat="server" Text="Modifiable Factors"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddModifiableFactors" runat="server" DataSourceID="ObjectDataSourceModifiableFactors"
                DataTextField="factors" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceModifiableFactors" runat="server" SelectMethod="GetModifiableFactorsDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label4" runat="server" Text="Categorization of Death"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddCategorizationofDeath" runat="server" DataSourceID="ObjectDataSourceCategorizationofDeath"
                DataTextField="category" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceCategorizationofDeath" runat="server" SelectMethod="GetCategorizationofDeathDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label5" runat="server" Text="Event that caused death"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddDeathEvent" runat="server" DataSourceID="ObjectDataSourceDeathEvent"
                DataTextField="reason" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceDeathEvent" runat="server" SelectMethod="GetDeathEventDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>

    <asp:TableRow>
        <asp:TableCell>
            <asp:Label IT="Label61" runat="server" Text="Have any of these risk factors been identified?"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>

        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label7" runat="server" Text="Maternal Obesity"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkMatenalObesity" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label9" runat="server" Text="Co Sleeping"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkCoSleeping" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label10" runat="server" Text="Smoking Parent Carer"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkSmokingParentCarer" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label11" runat="server" Text="Domestic Abuse"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkDomesticAbuse" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label12" runat="server" Text="IVF"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkIvf" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label13" runat="server" Text="Alcohol"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkAlcohol" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label14" runat="server" Text="Late Bookings"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkLateBookings" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label15" runat="server" Text="Consanguinity of Parents"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:CheckBox ID="chkConsanguinityParents" runat="server" />
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label16" runat="server" Text="Is the death subject to a serious case review?"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddDeathScr" runat="server" DataSourceID="ObjectDataSourceDeathScr"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceDeathScr" runat="server" SelectMethod="GetDeathScrDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label17" runat="server" Text="Date the SCR was created"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:TextBox ID="txtScrDate"  class="tcal" runat="server">
            </asp:TextBox>
           <%-- <asp:LinkButton ID="lnkBtnScrDate" runat="server" OnClick="LnkBtnScrDateClick">Calendar</asp:LinkButton>
            <asp:Calendar ID="calScrDate" runat="server" Visible="false" OnSelectionChanged="CalScrDateOnSelectionChanged">
            </asp:Calendar>--%>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label18" runat="server" Text="Did CDOP insticate the SCR"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddCdopRecommendScr" runat="server" DataSourceID="ObjectDataSourceCdopRecommendScr"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceCdopRecommendScr" runat="server" SelectMethod="GetCdopRecommendScrDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
    <asp:TableRow>
        <asp:TableCell>
            <asp:Label ID="Label19" runat="server" Text="If so was the SCR instigated by the LSCB"></asp:Label>
        </asp:TableCell>
        <asp:TableCell>
            <asp:DropDownList ID="ddCdopInstigateScr" runat="server" DataSourceID="ObjectDataSourceCdopInstigateScr"
                DataTextField="status" DataValueField="id">
            </asp:DropDownList>
            <asp:ObjectDataSource ID="ObjectDataSourceCdopInstigateScr" runat="server" SelectMethod="GetCdopInstigateScrDetails"
                TypeName="CDOP.Model.CommonRepository"></asp:ObjectDataSource>
        </asp:TableCell>
    </asp:TableRow>
</asp:Table>
